package com.wjw.redis.stream.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.TypeAlias;

import java.io.Serializable;

/**
 * @author wjwei
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TypeAlias("com.wjw.redis.stream.model.UserInfo")
public class UserInfo implements Serializable {
    private static final long serialVersionUID = -7373210563079416942L;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    private String gender;
}